mui.init()

var app = new Vue({
	el:'#myapp',
	data:{
		datas:''
	}
})

mui.ajax('http://'+ip+'/wzry/index.php?g=api&c=equipment&a=equipments',{
	data:{
		
	},
	dataType:'json',//服务器返回json格式数据
	type:'post',//HTTP请求类型
	timeout:10000,//超时时间设置为10秒；
	success:function(data){
//		console.log(data)
		app.datas = data
	},
	error:function(xhr,type,errorThrown){
		console.log(type)
	}
});


	mui('.row').on('tap','.item',function(){
		var price = this.dataset.monny
		var name = this.dataset.name
		var content = this.dataset.content
		

		mui.alert(price+"\n"+content,name)
	}) 